import Layout from '@/layouts';

export default [
  {
    path: '/bzh',
    component: Layout,
    redirect: '/bzh/home',
    meta: {
      // title: '交通运输标准化',
      title: '标准化',
      isOrNot: true,
      // icon: ViewModuleIcon,
    },
    children: [
      {
        path: 'home',
        component: () => import('@/pages/bzh/home.vue'),
        meta: {title: '首页', icon: 'view-module'},
      },
      {
        path: 'approve',
        component: () => import('@/layouts/blank.vue'),
        redirect: '/bzh/approve/approve-my',
        meta: { title: '审批管理', icon: 'view-module'},
        children: [
          {
            path: 'approve-my',
            component: () => import('@/pages/bzh/approve/approve-my.vue'),
            meta: { title: '待我审批记录'},
          },
          {
            path: 'approved-my',
            component: () => import('@/pages/bzh/approve/approved-my.vue'),
            meta: { title: '我已审批记录'},
          },
        ]
      },
      {
        path: 'standard',
        component: () => import('@/layouts/blank.vue'),
        redirect: '/bzh/standard/standard-list',
        meta: { title: '标准化管理', icon: 'view-module'},
        children: [
          {
            path: 'standard-list',
            component: () => import('@/pages/bzh/standard/standard-index.vue'),
            meta: { title: '标准列表'},
          },
          {
            path: 'standard-my',
            component: () => import('@/pages/bzh/standard/standard-my.vue'),
            meta: { title: '我的标准'},
          },
          {
            path: 'standard-fb',
            component: () => import('@/pages/bzh/standard/standard-fb.vue'),
            meta: { title: '系统已发布标准'},
          },
          // {
          //   path: 'draft-review',
          //   component: () => import('@/pages/bzh/standard/draft-review.vue'),
          //   // meta: { title: '申报标准'},
          //   meta: { title: '申报标准', hidden: true, activeMenu: '/bzh/standard/standard-my'},
          // },
        ]
      },
      {
        path: 'apply',
        component: () => import('@/layouts/blank.vue'),
        redirect: '/bzh/apply/apply-index',
        meta: { title: '地方标准申报', icon: 'view-module'},
        children: [
          {
            path: 'apply-index',
            component: () => import('@/pages/bzh/apply/apply-index.vue'),
            meta: { title: '申报列表'},
          },
          {
            path: 'apply-my',
            component: () => import('@/pages/bzh/apply/apply-my.vue'),
            meta: { title: '我的申报'},
          },
          // {
          //   path: 'draft-review',
          //   component: () => import('@/pages/bzh/apply/draft-review.vue'),
          //   // meta: { title: '申报标准'},
          //   meta: { title: '申报标准', hidden: true, activeMenu: '/bzh/apply/apply-my'},
          // },
        ]
      },
      {
        path: 'opinion',
        component: () => import('@/layouts/blank.vue'),
        redirect: '/bzh/opinion/opinion-index',
        meta: { title: '征求意见管理', icon: 'view-module'},
        children: [
          {
            path: 'opinion-index',
            component: () => import('@/pages/bzh/opinion/opinion-index.vue'),
            meta: { title: '标注意见列表'},
          },
          {
            path: 'opinion-my',
            component: () => import('@/pages/bzh/opinion/opinion-my.vue'),
            meta: { title: '我的标准意见'},
          },

          // {
          //   path: 'opinion-yk',
          //   component: () => import('@/pages/bzh/opinion/opinion-yk.vue'),
          //   meta: { title: '游客意见'},
          // },
          {
            path: 'opinion-summary',
            component: () => import('@/pages/bzh/opinion/opinion-summary.vue'),
            meta: { title: '汇总意见', hidden: true, activeMenu: '/bzh/opinion/opinion-my'},
          },

        ]
      },
      // {
      //   path: 'report',
      //   component: () => import('@/layouts/blank.vue'),
      //   redirect: '/bzh/report/report-index',
      //   meta: { title: '报审管理', icon: 'view-module'},
      //   children: [
      //     {
      //       path: 'report-index',
      //       component: () => import('@/pages/bzh/report/report-index.vue'),
      //       meta: { title: '报审列表'},
      //     },
      //     {
      //       path: 'report-my',
      //       component: () => import('@/pages/bzh/report/report-my.vue'),
      //       meta: { title: '我的报审'},
      //     },
      //     {
      //       path: 'report-apply',
      //       component: () => import('@/pages/bzh/report/report-apply.vue'),
      //       meta: { title: '提交报审',hidden: true, activeMenu: '/bzh/report/report-my'},
      //     },
      //
      //   ]
      // },
      {
        path: 'register',
        component: () => import('@/layouts/blank.vue'),
        redirect: '/bzh/register/register-national',
        meta: { title: '标准登记', icon: 'view-module'},
        children: [
          // {
          //   path: 'register-place-index',
          //   component: () => import('@/pages/bzh/register/register-place-index.vue'),
          //   meta: { title: '地方标准列表'},
          // },
          // {
          //   path: 'register-nation-index',
          //   component: () => import('@/pages/bzh/register/register-nation-index.vue'),
          //   meta: { title: '国家标准列表'},
          // },
          // {
          //   path: 'register-industry-index',
          //   component: () => import('@/pages/bzh/register/register-industry-index.vue'),
          //   meta: { title: '行业标准列表'},
          // },
          // {
          //   path: 'register-group-index',
          //   component: () => import('@/pages/bzh/register/register-group-index.vue'),
          //   meta: { title: '团体标准列表'},
          // },
          // {
          //   path: 'register-company-index',
          //   component: () => import('@/pages/bzh/register/register-company-index.vue'),
          //   meta: { title: '企业标准列表'},
          // },
          // {
          //   path: 'register-national',
          //   component: () => import('@/pages/bzh/register/register-national.vue'),
          //   meta: { title: '国家标准登记'},
          // },
          // {
          //   path: 'register-industry',
          //   component: () => import('@/pages/bzh/register/register-industry.vue'),
          //   meta: { title: '行业标准登记'},
          // },
          // {
          //   path: 'register-place',
          //   component: () => import('@/pages/bzh/register/register-place.vue'),
          //   meta: { title: '地方标准登记'},
          // },
          // {
          //   path: 'register-group',
          //   component: () => import('@/pages/bzh/register/register-group.vue'),
          //   meta: { title: '团体标准登记'},
          // },
          // {
          //   path: 'register-company',
          //   component: () => import('@/pages/bzh/register/register-company.vue'),
          //   meta: { title: '企业标准登记'},
          // },
          // {
          //   path: 'addOther',
          //   component: () => import('@/pages/bzh/register/addOther.vue'),
          //   // meta: { title: '申报标准'},
          //   meta: { title: '非地方标准申报', hidden: true, activeMenu: '/bzh/apply/apply-my'},
          // },
        ]
      },
      {
        path: 'iso',
        component: () => import('@/layouts/blank.vue'),
        redirect: '/bzh/iso/iso-activities-list',
        meta: { title: '贯标管理', icon: 'view-module'},
        children: [
          {
            path: 'iso-activities-index',
            component: () => import('@/pages/bzh/iso/iso-activities-index.vue'),
            meta: { title: '贯标活动列表'},
          },
          {
            path: 'iso-activities-my',
            component: () => import('@/pages/bzh/iso/iso-activities-my.vue'),
            meta: { title: '我的贯标活动'},
          },
          // {
          //   path: 'iso-activities-apply',
          //   component: () => import('@/pages/bzh/iso/iso-activities-pt-my.vue'),
          //   // meta: { title: '申报标准'},
          //   meta: { title: '申报活动', hidden: true, activeMenu: '/bzh/iso/iso-activities-my'},
          // },
          {
            path: 'iso-plans-index',
            component: () => import('@/pages/bzh/iso/iso-plans-index.vue'),
            meta: { title: '贯标计划列表'},
          },
          {
            path: 'iso-plans-my',
            component: () => import('@/pages/bzh/iso/iso-plans-my.vue'),
            meta: { title: '我的贯标计划'},
          },
          {
            path: 'iso-plans-apply',
            component: () => import('@/pages/bzh/iso/iso-plans-apply.vue'),
            // meta: { title: '申报标准'},
            meta: { title: '申报计划', hidden: true, activeMenu: '/bzh/iso/iso-plans-my'},
          },
          {
            path: 'iso-act-apply',
            component: () => import('@/pages/bzh/iso/iso-act-apply.vue'),
            // meta: { title: '申报标准'},
            meta: { title: '申报活动', hidden: true, activeMenu: '/bzh/iso/iso-activities-my'},
          },
        ]
      },
    ],

  },

];
